package com.edu.service;

import com.edu.entity.PageBean;
import com.edu.entity.Vehicles;

import java.util.List;

public interface VehiclesService {
    /**
     * 根据类型查车辆
     *
     * @param type
     * @return
     */
   PageBean<Vehicles> queryByType(String type, int page, int pageSize);
    /**
     * 根据id查车辆
     *
     * @param id
     * @return
     */
    Vehicles queryById(int id);
}
